<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8" />
		<meta name="Keywords" Content="婚礼包办,婚礼策划，爱情,蜜月,婚礼用品">
		<meta name="Description" Content="为用户提供婚礼策划、婚车租赁、婚纱摄影、蜜月旅行以及周边服务商品的商城，为用户提供一站式解决方案，解决用户在婚礼各个环节中遇到的困难。">
		<link rel="shortcut icon" type="image/x-icon" href="../img/static/shemher.ico" media="screen" />
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title>相合网_高品质婚礼服务</title>
		<link rel="stylesheet" type="text/css" href="../css/mod/base.css" />
		<link rel="stylesheet" type="text/css" href="../css/mod/header.css" />
		<link rel="stylesheet" type="text/css" href="../css/mod/footer.css" />
		<link rel="stylesheet" type="text/css" href="../css/page/hotel.css" />
	</head>

	<body>
		<!--S头部部分-->
		<div class="header">

		</div>
		<!--E头部部分-->

		<div class="wrap">
			<!--S个人中心资料-->
			<div class="personal-wrap clearfix">
				<div class="person-nav fl">
					<h1 class="mod-hltitle">个人资料</h1>
					<h2 class="mod-tit">我的相合</h2>
					<ul class="">
						<li>
							<a href="">我的订单</a>
						</li>
						<li>
							<a href="">我的收藏</a>
						</li>
						<li>
							<a href="">我的日志</a>
						</li>
						<li>
							<a href="">我的评价</a>
						</li>
					</ul>
					<h2 class="mod-tit">账号设置</h2>
					<ul class="">
						<li>
							<a href="">修改密码</a>
						</li>
					</ul>

				</div>
				<div class="person-detail fr">
					<div class="person-detail-header clearfix" id="userwrap">
						<div class="pdh-headimg fl">
							<img src="../img/online/140x140.png" />
						</div>
						<div class="person-detail-name mt10 fl">
							<ul class="fl">
								<li class="mod-phone">老太龙V</li>
								<li class="mt10"><b class="mod-info">账号安全：</b><span class="safe"><b><i></i></b>较低</span></li>
								<li class="mt10">婚期：2017-01-01</li>
							</ul>
							<ul class="pdn-info fl ml100">
								<li>生日：<span>1999-01-01</span></li>
								<li>邮箱：<span>5555555555555@qq.com</span></li>
								<li>电话：<span>133221553467 </span> <span> 已绑定</span></li>
								<li>地址：<span>重庆解放碑</span></li>
							</ul>
						</div>
						<div class="mod-btn fr">
							修改资料
						</div>
					</div>
					<div class="">
					 <div class="person-detail-section">
						<h1 class="mod-bigtit">最近预约</h1>
						<div class="pds-item">
							无
						</div>
					 </div>
					 <div class="person-detail-section">
						<h1 class="mod-bigtit">最近收藏</h1>
						<div class="pds-item">
							无
						</div>
					</div>
				     <div class="person-detail-section">
						<h1 class="mod-bigtit">最近购买</h1>
						<div class="pds-item">
							无
						</div>
					</div>
			    	</div>
				</div>

			</div>
			<!--E个人中心资料-->
		</div>
		<!--脚部部分-->
		<div class="footer mt100">
		
		</div>
		<!--脚部部分-->
		<script src="../js/mod/jquery-1.9.1.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="../js/mod/mod.js" type="text/javascript" charset="utf-8"></script>
		<script src="../js/mod/cookie.js" type="text/javascript" charset="utf-8"></script>
		<script src="../js/mod/artTemplate.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			//setCookie("users",15,"1h");
			//console.log(getCookie("users"));
			/*http://xhwed.com/xhwed.php/Personal/userHome*/
			$.ajax({
				type:"post",
				url:"http://xhwed.com/xhwed.php/Personal/userHome",
				async:true,
				dataType:"json",
				data:{"users":getCookie("users")},
				success:function(data){
					//console.log(data);
					var html =template("userInfo",data.result.users);
					document.getElementById("userwrap").innerHTML=html;
				}
			});
		</script>
		
		<script type="text/html" id="userInfo">
			<div class="pdh-headimg fl">
				<img src="../img/static/logo.png"/>
			</div>
			<div class="person-detail-name mt10 fl">
				<ul class="fl">
					<li class="mod-phone">{{username}}</li>
					<li class="mt10"><b class="mod-info">账号安全：</b><span class="safe"><b><i></i></b>较低</span></li>
					<li class="mt10">婚期：{{wedding}}</li>
				</ul>
				<ul class="pdn-info fl ml100">
					<li>生日：<span>{{date_of_birth}}</span></li>
					<li>邮箱：<span>{{mailbox}}</span></li>
					<li>电话：<span>{{account_number}} </span> <span> 已绑定</span></li>
					<li>地址：<span>{{date_of_birth}}</span></li>
				</ul>
			</div>
			<div class="mod-btn fr">
				修改资料
			</div>
		</script>
	</body>

</html>